package com.example.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
//@ComponentScan(excludeFilters =
//        {@ComponentScan.Filter(
//                type = FilterType.REGEX,
//                pattern = "com.example.demo.batis.*")
//        })
public class DemoApplication {
    final static Logger logger = LoggerFactory.getLogger(DemoApplication.class);

    /*消息转换器*/
    /* @Bean
    public StringHttpMessageConverter stringHttpMessageConverter() {
        StringHttpMessageConverter converter = new StringHttpMessageConverter();
        return converter;
    }*/

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
        logger.warn("启动成功");
    }

}
